package com.grad.webstudy.service;

import com.github.pagehelper.PageInfo;

/**
 * @Description:
 * @Author: zjf
 * @Date: 2020/2/4 16:38.
 */
public interface CollectService {


    /**
     * 增加收藏课程id
     * @param courseId
     * @return
     */
    boolean addCollect(int courseId);


    /**
     * 分页查询收藏课程信息
     * @param currPage
     * @param pageSize
     * @return
     */
    PageInfo queryCollectByPage(int currPage,int pageSize);


    /**
     * 删除的课程信息
     * @param deleteIds 删除课程ids字符串拼接，以,分隔
     * @return
     */
    boolean deleteCollects(String deleteIds);
}
